#include"List.h"


void ListTest1()
{
   // LTNode* plist;
    //ListInit(plist);
   // ListInit(&plist);
  LTNode* plist = ListInit();

 // ListPushBack(plist, 1);
 // ListPushBack(plist, 2);
 // ListPushBack(plist, 3);
 // ListPushBack(plist, 4);
 // ListPushBack(plist, 5);
 // ListPrint(plist);
  ListPushFront(plist,6);
  ListPushFront(plist,7);
  ListPushFront(plist,8);
  ListPushFront(plist,9);
  ListPushFront(plist,10);
  ListPrint(plist);
  ListPrint(plist);
  printf("%d\n", ListSize(plist));
//  ListPopBack(plist);
//  ListPrint(plist);
//  ListPopBack(plist);
//  ListPrint(plist);
//  ListPopBack(plist);
//  ListPrint(plist);
//
    ListDestory(plist);
   // printf("%p\n", plist);

}

int main()
{

    ListTest1();
    return 0;
}
